﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Utils
{
    public static class IParamStringParserExtension
    {
        public static string ParamToString(this IParamParser parser,
            string key, string value)
        {
            return parser.DictionaryToString(
                new Dictionary<string, string>() { 
                    { key, value }
                });
        }
    }
}
